import request from '/@/utils/request';

/**
 * 教师管理
 * @param params 要传的参数值
 * @returns 返回接口数据
 * @method teacherInfo 获取教师信息
 */

export function teacherInfo(params: number) {
	return request({
		url: `teacher?Page=${params}`,
		method: 'get',
	});
}

export function getTeacherInfo(params: any) {
	return request({
		url: `teacher?teacher_id=${params}`,
		method: 'get',
	});
}